body {
    padding: 0;
    margin: 0;
    border: 0;
}

.header-right-a{
    color: #e2c8ca;
}
.header-right-a:hover{
    color: #eb1120;
}
.layui-icon-right:before {
    content: ">";
}

html {
    height: 1000px;
}

:root {
    --theme-color: #8c222c;
    /* --theme-color: green; */
}

.header-nav {
    height: 36px;
    width: auto;
    background-color: var(--theme-color);
}

.content-center {
    margin: 0 auto;
    width: 1200px;
}

.header-wrap {
    line-height: 36px;
    font-size: 12px;
    color: #e2c8ca;
    position: relative;
}

.header-left {
    position: absolute;
    width: 300px;
    left: 0;
}

.header-right {
    position: absolute;
    width: 620px;
    right: 0;
}

.header-right span {
    margin-right: 15px;
}

.header-logo img {
    width: 260px;
    height: 45px;
}

.header-search {
    background-color: #f2f1ea;
}

.header-search-wrap {
    height: 100px;
    position: relative;
}

.header-logo {
    height: 30px;
    position: absolute;
    left: 0;
    top: 25%;
}

.header-search-content {
    width: 700px;
    height: 100px;
    /* border: 2px solid black; */
    position: absolute;
    right: 0;
}

.header-search-input {
    position: absolute;
    top: 25%;
    left: 20px;
    border: 2px solid var(--theme-color);
}

.header-search-input input {
    width: 600px;
    height: 30px;
    border: none;
    outline: none;
}

.header-search-input button {
    background-color: var(--theme-color);
    border-radius: 0;
}

.header-search-bread-crumb {
    position: absolute;
    left: 20px;
    bottom: 7px;
    width: 600px;
    height: 20px;
    line-height: 20px;
    /* border: 2px solid black; */
    overflow: hidden;
}

/* .layui-breadcrumb a:hover {
    color: var(--theme-color);
} */

.layui-breadcrumb a:hover {
    color: var(--theme-color) !important;
}

.layui-nav {
    background: #ffffff;
}

.layui-nav .layui-this:after {
    background-color: var(--theme-color);
}

.layui-nav .layui-this:after,
.layui-nav-bar {
    background-color: var(--theme-color);
}

.layui-menu-body-title {
    line-height: 30px;
}

.main-menu {
    margin: 0 auto;
    width: 1200px;
    height: 1200px;
    /* border: 2px solid black; */
    position: relative;
}

.main-menu-left {
    width: 180px;
    position: absolute;
}

.main-menu-images {
    width: 180px;
    height: 300px;
    /* border: 2px solid black; */
}

.main-menu-item {
    margin-top: 10px;
}

.main-menu-item img {
    width: 180px;
}

.main-menu-right {
    position: absolute;
    top: 2px;
    right: 2px;
}

.main-carousel {
    width: 1010px;
    height: 270px;
    margin-bottom: 20px;
}

.main-menu-book-recommend-title {
    height: 36px;
    width: 1000px;
    position: relative;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.main-menu-book-content {
    width: 1010px;
    border: 2px solid #ccc;
    position: relative;
    height: 840px;
    overflow: hidden;
}

.main-menu-book-lists {
    width: 1000px;
    /* height: 550px; */
    /* border: 2px solid black; */
    /* display: inline-flex; */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: flex-start;
    overflow: hidden;
}

.main-menu-book-list {
    width: 170px;
    height: 250px;
    /* border: 2px solid black; */
    position: relative;
    margin: 13px 13px;
}

.main-menu-book-list img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
}

.main-menu-book-title {
    width: 150px;
    height: 40px;
    overflow: hidden;
    margin: 0 auto;
}

.main-menu-book-author {
    width: 90px;
    height: 40px;
    position: absolute;
    right: 0;
    overflow: hidden;
}

.main-menu-book-price {
    width: 80px;
    height: 20px;
    color: var(--theme-color);
    font-size: 20px;
    position: absolute;
    left: 5px;
    bottom: -3px;
}

.main-menu-book-cart {
    width: 80px;
    height: 30px;
    font-size: 16px;
    position: absolute;
    bottom: -15px;
    right: 5px;
}

.main-menu-book-page {
    width: 500px;
    height: 50px;
    /*border: 2px solid black;*/
}

.layui-btn-normal {
    background-color: var(--theme-color);
}

.layui-btn:hover {
    opacity: 1;
}

.main-shop {
    width: 1200px;
    height: 650px;
    /* border: 2px solid red; */
    margin: 0 auto;
    position: relative;
}

.main-shop-top {
    height: 40px;
    margin: 10px;
    border-bottom: 1px solid #ccc;
}

.main-shop-top h1 {
    font-weight: bolder;
}

.main-shop-left-title {
    width: 840px;
    height: 35px;
    margin-top: 20px;
    margin-left: 10px;
}

.main-shop-left-title span {
    font-size: 20px;
    font-weight: bolder;
}

.main-shop-left-title a {
    color: #4395ff;
}

.main-shop-left-title a:hover {
    color: var(--theme-color);
}

.main-shop-new-book {
    width: 830px;
    height: 500px;
    /* border: 2px solid black; */
    overflow: hidden;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* align-content: space-around; */
    justify-content: flex-start;
}

.main-shop-book-item {
    display: inline-block;
    margin: 5px 10px;
    width: 140px;
    height: 240px;
    /* border: 2px solid black; */
    position: relative;
}

.main-shop-book-item img {
    width: 140px;
}

.main-shop-book-title {
    width: 150px;
    height: 40px;
    overflow: hidden;
    margin: 0 auto;
}

.main-shop-book-author {
    height: 20px;
    position: absolute;
    right: 5px;
}

.main-shop-book-price {
    width: 80px;
    height: 20px;
    color: var(--theme-color);
    font-size: 20px;
    position: absolute;
    left: 5px;
    bottom: 12px;
}

.main-shop-book-cart {
    position: absolute;
    right: 5px;
    bottom: 5px;
    background-color: var(--theme-color)
}

.layui-btn-xs {
    height: 30px;
    line-height: 30px;
    padding: 0 5px;
    font-size: 14px;
}

.main-shop-right {
    width: 360px;
    height: 560px;
    /* border: 2px solid black; */
    position: absolute;
    right: 0;
    top: 50px;
}

.main-shop-right-title {
    margin-top: 10px;
    height: 30px;
}

.main-shop-right-title span {
    font-size: 20px;
    font-weight: bolder;
}

.main-shop-right-title a {
    color: #4395ff;
}

.main-shop-leader-board {
    width: 340px;
    height: 50px;
    border-bottom: 1px solid #e5e5e5;
    margin-left: 15px;
    position: relative;
}

.main-shop-leader-title {
    font-size: 14px;
}

.main-shop-leader-price {
    margin-top: 5px;
    margin-right: 10px;
    color: var(--theme-color);
    position: absolute;
    right: 0;
    top: 0;
}

.main-shop-leader-author {
    margin-top: 7px;
    margin-left: 10px;
    font-size: 12px;
    color: #999;
    position: absolute;
}

footer {
    /* border: 2px solid black; */
    height: 120px;
    position: relative;
    bottom: 0;
}

.footer-box {
    margin: 0 auto;
    width: 1200px;
    height: 100px;
    position: relative;
}

.footer-box-left {
    position: absolute;
    left: 10px;
    top: 5px;
    color: #999;
}

.footer-box-right {
    position: absolute;
    right: 10px;
    top: 5px;
}

.footer-box-center1 {
    width: 1200px;
    height: 20px;
    text-align: center;
    position: absolute;
    top: 30px;
}

.footer-box-center2 {
    width: 1200px;
    height: 20px;
    text-align: center;
    position: absolute;
    top: 50px;
}

.footer-box-img {
    position: absolute;
    width: 1200px;
    height: 30px;
    bottom: 0;
    text-align: center;
}

.footer-box-img img {
    margin-top: 5px;
    margin-left: 20px;
    padding-top: 5px;
    padding-bottom: 20px;
}

.el-pagination.is-background .el-pager li:not(.disabled).active {
     background-color: var(--theme-color);
     color: #FFF;
}

/*
.el-pagination.is-background .el-pager li:not(.disabled):hover {
    color: var(--theme-color);
}*/
